import { dateformat } from './format.ts'
import { md5 } from './encrypt.ts'

export function guid(): string {
  const _random = Math.random() * 100
  return md5(dateformat(new Date(), 'yyyymmddhhmmss') + _random)
}
